package com.sixth.system.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sixth.core.entity.Dept;
import com.sixth.core.vo.R;
import com.sixth.system.vo.DeptVo;

import java.util.List;


public interface DeptService {
    R<List<Dept>> selectAll();

    R<IPage<Dept>> selectPage(DeptVo deptVo);

    R<Dept> getById(Integer deptId);

    R removeById(Integer deptId);

    R batchDelete(Long[] deptIds);

    boolean add_update(Dept dept);
}
